/***********************************************************************
 * Module:  Customer.java
 * Author:  zhaoying
 * Purpose: Defines the Class Customer
 ***********************************************************************/
package cn.tsmchina.one.domain.user;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 所有客户：包含学校和企业。通过type区分：1学校 2企业
 */

@Entity
@Table(name="tb_customer")
public class Customer implements Serializable {

	private static final long serialVersionUID = -8125232966481683354L;

	@Id
	@Column(name = "ID")
	@GeneratedValue
	public Long id;
	
	@Column
	public Integer loginId;
	
	@Column
	public String loginPwd;
	
	@Column
	public String name;
	
	@Column
	public Integer province;
	
	@Column
	public Integer city;
	
	@Column
	public Integer zone;
	
	@Column
	public java.lang.String openId;
	
	@Column
	public java.lang.String telNum;
	
	@Column
	public java.lang.String mobileNum;
	
	@Column
	public java.lang.String weibo;
	
	@Column
	public java.lang.String qq;
	
	@Column
	public java.lang.String email;
	
	@Column
	public java.lang.String address;
	
	@Column
	public Integer type;
	
	@Column
	public Date inputDate;
	
	@Column
	public Date updateDate;
	
	@Column
	public Integer updateById;
	
	@Column(name="LOCKSTATUS")
	public Integer lockStatus;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getLoginId() {
		return loginId;
	}

	public void setLoginId(Integer loginId) {
		this.loginId = loginId;
	}

	public java.lang.String getLoginPwd() {
		return loginPwd;
	}

	public void setLoginPwd(java.lang.String loginPwd) {
		this.loginPwd = loginPwd;
	}

	public java.lang.String getName() {
		return name;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public Integer getProvince() {
		return province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public Integer getCity() {
		return city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public Integer getZone() {
		return zone;
	}

	public void setZone(Integer zone) {
		this.zone = zone;
	}

	public java.lang.String getOpenId() {
		return openId;
	}

	public void setOpenId(java.lang.String openId) {
		this.openId = openId;
	}

	public java.lang.String getTelNum() {
		return telNum;
	}

	public void setTelNum(java.lang.String telNum) {
		this.telNum = telNum;
	}

	public java.lang.String getMobileNum() {
		return mobileNum;
	}

	public void setMobileNum(java.lang.String mobileNum) {
		this.mobileNum = mobileNum;
	}

	public java.lang.String getWeibo() {
		return weibo;
	}

	public void setWeibo(java.lang.String weibo) {
		this.weibo = weibo;
	}

	public java.lang.String getQq() {
		return qq;
	}

	public void setQq(java.lang.String qq) {
		this.qq = qq;
	}

	public java.lang.String getEmail() {
		return email;
	}

	public void setEmail(java.lang.String email) {
		this.email = email;
	}

	public java.lang.String getAddress() {
		return address;
	}

	public void setAddress(java.lang.String address) {
		this.address = address;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getInputDate() {
		return inputDate;
	}

	public void setInputDate(Date inputDate) {
		this.inputDate = inputDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Integer getUpdateById() {
		return updateById;
	}

	public void setUpdateById(Integer updateById) {
		this.updateById = updateById;
	}

	public Integer getLockStatus() {
		return lockStatus;
	}

	public void setLockStatus(Integer lockStatus) {
		this.lockStatus = lockStatus;
	}
}